/**
 * 文件名：Constant.java
 *
 * 创建人：LS - ls121989@163.com
 *
 * 创建时间：2016年11月9日 下午3:47:18
 *
 * 版权所有：LS
 */
package fnic.prehand.esagent.ap_measure_new2;

/**
 * [描述信息：说明类的基本功能]
 *
 * @author LS - ls121989@163.com
 * @version 1.0 Created on 2016年11月9日 下午3:47:18
 */
public interface Constant {

	static final String TIMEFIELD = "probetime";

	static final String TOOLFIELD = "tool";

	static final String XPINGTOOL = "xping";

	static final String TRACETOOL = "lft";

	static final String BANDWIDTHTOOL = "iperf";

	static final String HTTPTOOL = "http-ping";

	static final String TCPTOOL = "tcp_test";

	static final String UDPTOOL = "udp_test";

	static final String SMTPTOOL = "smtp_test";

	static final String POP3TOOL = "pop3_test";

	static final String FTPTOOL = "ftp_test";

	static final String DNSTOOL = "dns_test";

	static final String XPINGTYPE = "1";

	static final String TRACETYPE = "2";

	static final String BANDWIDTHTYPE = "3";

	static final String HTTPTYPE = "4";

	static final String SMTPTYPE = "5";

	static final String POP3TYPE = "6";

	static final String FTPTYPE = "7";

	static final String DNSTYPE = "8";

	static final String TCPTYPE = "9";

	static final String UDPTYPE = "10";

	static final String XPINGTARGET = "target";

	static final String TRACETARGET = "target";

	// static final String BANDWIDTHTARGET = "down.remote host";

	static final String BANDWIDTHTARGET = "target";

	static final String HTTPTARGET = "target";

	static final String TCPTARGET = "host";

	static final String UDPTARGET = "host";

	static final String SMTPTARGET = "smtp_server";

	static final String POP3TARGET = "pop3_server";

	static final String FTPTARGET = "ftp_server";

	static final String DNSTARGET = "host";

	static final String XPINGSOURCE = "probeid";

	static final String TRACESOURCE = "probeid";

	static final String BANDWIDTHSOURCE = "probeid";

	static final String HTTPSOURCE = "probeid";

	static final String TCPSOURCE = "probeid";

	static final String UDPSOURCE = "probeid";

	static final String SMTPSOURCE = "probeid";

	static final String POP3SOURCE = "probeid";

	static final String FTPSOURCE = "probeid";

	static final String DNSSOURCE = "probeid";

	static final String HOSTNAME = "host";

	static final String SOURCEDIRECTION = "1";

	static final String DESTINATIONDIRECTION = "2";
	
	static final String XPINGSOURCEIP = "source_ip";
	
	static final String TRACESOURCEIP = "from";
	
	static final String BANDWIDTHSOURCEIP = "from";
	
	static final String HTTPSOURCEIP = "from";
	
	static final String TCPSOURCEIP = "from";
	
	static final String UDPSOURCEIP = "from";

	// 时延
	static final String RTTMIN = "rtt_min";

	static final String RTTAVG = "rtt_avg";

	static final String RTTMAX = "rtt_max";

	// 丢包率
	static final String PACKETLOSS = "packet_loss";

	// 抖动
	static final String RTTJITTER = "rtt_mdev";

	// 路径
	static final String TRACEROUTE = "trace";

	static final String TRACENECK = "bottleneck";

	// 带宽
	static final String DOWNBANDWIDTH = "down.sent_bandwidth";

	static final String UPBANDWIDTH = "up.sent_bandwidth";

	static final String DOWNFIELD = "down";

	static final String UPFIELD = "up";

	// HTTP
	static final String DNSAVG = "dns_avg";

	static final String CONNECTAVG = "connect_avg";

	static final String FIRSTBYTEAVG = "firstbyte_avg";

	static final String DOWNLOADAVG = "data_avg";

	// TCP
	static final String CONNECTMINTIME = "connect_min_time";

	static final String CONNECTAVGTIME = "connect_avg_time";

	static final String CONNECTMAXTIME = "connect_max_time";

	// UDP
	static final String DELAYMIN = "delay_min";

	static final String DELAYAVG = "delay_avg";

	static final String DELAYMAX = "delay_max";

	// UDP抖动
	static final String JOGGLE = "joggle";

	// SMTP POP3 FTP
	static final String DNSTIME = "dns_time";

	static final String CONNECTTIME = "connect_time";

	static final String LISTTIME = "list_time";

	static final String UPLOADTIME = "upload_time";

	static final String DOWNLOADTIME = "download_time";

	static final String TOTALTIME = "total_time";

	// DNS
	static final String DNSMINTIME = "dns_min_time";

	static final String DNSAVGTIME = "dns_avg_time";

	static final String DNSMAXTIME = "dns_max_time";

}
